<!DOCTYPE html>
<html lang="en">

<head>
    <title>My BCIT Project</title>
    <meta name="comp2800 template" content="My 2800 App">

    <!------------------------>
    <!-- Required meta tags -->
    <!------------------------>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!------------------------------------------>
    <!-- Bootstrap Library CSS JS CDN go here -->
    <!------------------------------------------>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-SgOJa3DmI69IUzQ2PVdRZhwQ+dy64/BUtbMJw1MZ8t5HZApcHrRKUc4W0kG879m7" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/js/bootstrap.bundle.min.js"
        integrity="sha384-k6d4wzSIapyDyv1kpU366/PK5hCdSbCRGRCMv+eplOQJWyd1fbcAu9OCUj5zNLiq" crossorigin="anonymous">
        </script>
        <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <!-------------------------------------------------------->
    <!-- Firebase 8 Library related CSS, JS, JQuery go here -->
    <!-------------------------------------------------------->
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js"></script>

    <!-------------------------------------------->
    <!-- Other libraries and styles of your own -->
    <!-------------------------------------------->
    <!-- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->
    <!-- <link rel="stylesheet" href="./styles/style.css"> -->
    <style>
        .img-fluid {
          width: 200px;
          height: 200px;
          object-fit: cover;
          margin: 10px;
        }
        @media (max-width: 768px) {
          .img-fluid {
            width: 150px;
            height: 150px;
          }
        }
        .navbar {
            background-color: lightskyblue;
            /* 导航栏背景色 */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            /* 阴影效果 */
        }

        .navbar-brand {
            display: flex;
            /* 弹性布局，用于水平排列logo和标题 */
            align-items: center;
            /* 垂直居中 */
        }

        .navbar-brand span {
            font-weight: 600;
            /* 标题字体加粗 */
            margin-left: 0.5rem;
            /* 标题与logo间距 */
        }

        .navbar-nav .nav-link {
            /* 继承Bootstrap默认样式，无额外自定义样式 */
        }

        .navbar-nav .nav-link.active {
            /* Bootstrap默认激活状态样式 */
        }

        .btn-outline-success {
            /* 继承Bootstrap按钮样式 */
        }

        footer {
            background-color: #212529;
            /* 深灰色背景（bg-dark类对应Bootstrap默认色） */
            color: white;
            /* 文本颜色 */
            padding: 1rem 0;
            /* 垂直内边距 */
            text-align: center;
            /* 内容居中 */
        }

        footer .container {
            /* 继承Bootstrap容器样式 */
        }

        footer p {
            margin-bottom: 0.5rem;
            /* 版权文本底部间距 */
        }

        footer .mt-2 {
            margin-top: 0.5rem;
            /* 图标区域顶部间距 */
        }

        footer a {
            color: white;
            /* 图标链接颜色 */
            margin: 0 0.5rem;
            /* 图标左右间距 */
            transition: color 0.3s;
            /* 鼠标悬停动画过渡 */
        }

        footer a:hover {
            color: #007bff;
            /* 鼠标悬停时变为蓝色（可自定义） */
        }
      </style>

</head>

<body>
    <!------------------------------>
    <!-- Your HTML Layout go here -->
    <!------------------------------>

    <!-- our own navbar goes here -->
    <!-- 导航栏优化 -->
    <nav class="navbar navbar-expand-lg navbar-light" style="background-color: lightskyblue; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
        <div class="container-fluid">
            <a class="navbar-brand d-flex align-items-center" href="#">
                <img src="../images/biaoti.png" height="36" alt="Health Bot Logo">
                <span class="ms-2" style="font-weight: 600;">Health Bot</span>
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarSupportedContent">
                <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                    <li class="nav-item">
                        <a class="nav-link active" href="../aboutus.html">About Us</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="../main.html">Health</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="../history.html">History</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="../delete_user.html">Delete</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="../profile.html">Profile</a>
                    </li>
                </ul>
                <div class="d-flex">
                    <a class="btn btn-outline-success" href="../login.html">
                        <i class="fa fa-sign-out mr-1"></i> Logout
                    </a>
                </div>
            </div>
        </div>
    </nav>

    <!-- the body of your page goes here -->
    <div class="container my-5">
        <div class="position-relative p-5 text-center text-muted bg-body border border-dashed rounded-5">
            <h1 class="text-body-emphasis">Hello<span id="name-goes-here">my friend</span>! Your calorie count is:</h1>
            <h2> <span id="coffee-count-goes-here">0</span> </h2>
            <p class="col-lg-6 mx-auto mb-4">
                concern your health. 
                we hope everybody can have a nice body
            </p>
            <!-- <button class="d-inline-flex align-items-center btn btn-primary btn-lg btn-warning px-4 rounded-pill"
                type="button" id="addCupButton">
                click here 
            </button> -->
        </div>

        <!-- 四个图片模块 -->
        <div class="row my-5">
            <div class="col-md-3">
                <a href="./sleephealth.html" target="_blank">
                    <img src="./images/sleephealth.jpg"width="400px"  alt="Image 1" class="img-fluid rounded">
                </a>
            </div>
            <div class="col-md-3">
                <a href="./medicine.html" target="_blank">
                    <img src="./images/medicine.jpg" width="400px" alt="Image 2" class="img-fluid rounded">
                </a>
            </div>
            <div class="col-md-3">
                <a href="./Test_ Type.html" target="_blank">
                    <img src="./images/testtype.jpg" width="400px" alt="Image 3" class="img-fluid rounded">
                </a>
            </div>
            <div class="col-md-3">
                <a href="./healthysports.html" target="_blank">
                    <img src="./images/healthsports.jpg"  width="400px" alt="Image 4" class="img-fluid rounded">
                </a>
            </div>
        </div>
    </div>
    <!-- stuff -->
    <div class="container my-5">
        <div class="position-relative p-5 text-center text-muted bg-body border border-dashed rounded-5">
            <!-- <h1 class="text-body-emphasis">
                Hello, <span id="name-goes-here">my friend</span>!
            </h1> -->
            <!-- <h2>You're in <span id="city-goes-here">China</span></h2> -->
            <!-- <br>
            <h1>
                Your calorie count is:
            </h1>
            <h2> <span id="count-goes-here">0</span> </h2>
            <p class="col-lg-6 mx-auto mb-4">
                Take control, one calorie at a time.
            </p> -->
            <button onclick="window.location.href='post.html'" id="makePostButton" class="btn btn-success px-5 
mb-5" type="button">
Make a Post
</button>
        </div>
    </div>
    <!-- our own footer goes here-->
    <footer class="bg-dark text-white py-3 text-center">
        <div class="container">
            <p>&copy; 2025 Health Bot. All rights reserved.</p>
            <div class="mt-2">
                <a href="#" class="text-white mx-2"><i class="fa fa-facebook"></i></a>
                <a href="#" class="text-white mx-2"><i class="fa fa-twitter"></i></a>
                <a href="#" class="text-white mx-2"><i class="fa fa-instagram"></i></a>
            </div>
        </div>
    </footer>

    <!---------------------------------------------->
    <!-- Your own JavaScript functions go here    -->
    <!---------------------------------------------->
    <script src="./scripts/skeleton.js"></script>
    <script src="./scripts/main.js"></script>
    <script src="./scripts/script.js"></script>

</body>

</html>